<!DOCTYPE html>
<html lang="en" ng-app="gameAdminPlatform">
<head>
	<!-- start: Meta -->
	<meta charset="utf-8" />
	<title>对战平台后台管理</title>
	<meta name="description" content="Bootstrap Metro Dashboard" />
	<meta name="author" content="Dennis Ji" />
	<meta name="keyword" content="Metro, Metro UI, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina" />
	<!-- end: Meta -->
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<!-- end: Mobile Specific -->
	<!-- start: CSS -->
	<link href="/admin/css/bootstrap.min.css" rel="stylesheet" />
	<link href="/admin/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link href="/admin/css/style.css" rel="stylesheet" />
	<link href="/admin/css/style-responsive.css" rel="stylesheet" />
	<link href="http://fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&amp;subset=latin,cyrillic-ext,latin-ext" rel="stylesheet" type="text/css" />
	<!-- end: CSS -->
	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<link id="ie-style" href="/admin/css/ie.css" rel="stylesheet">
	<![endif]-->
	<!--[if IE 9]>
	<link id="ie9style" href="/admin/css/ie9.css" rel="stylesheet">
	<![endif]-->
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="/admin/img/favicon.ico" />
	<!-- end: Favicon -->

	<link rel="stylesheet" href="/admin/js/artdialog/css/ui-dialog.css">

	<style>
		.tb-text {
			padding:0 8px;margin:0;
			line-height: 38px;
		}

		.tb-text input {
			width: 100%;
			height: 20px;line-height: 20px;padding:5px;margin:0;background: inherit;
		}

		.tb-text input:focus {
			border:1px solid #11c1f3 !important;
		}

		.btn.mini {
			padding: 0 10px;
			margin: 0 10px;
		}

		.upload-wp form {
			margin: 0;
			padding-bottom: 15px;
			border-bottom: 1px solid #eee;
		}

		.upload-wp .control-group {
			margin: 0;
		}

		.pagination {
			margin: 0px !important;
		}

		.pagination li a {
			cursor: pointer;
		}

		.span12 {
			margin: 5px 10px !important;
		}

		.user-table {
			min-height: 428px;
		}

		.user-table thead th {
			text-align: center;
		}

		.fixedTop {
			_position: absolute;
			position: fixed;
			width: 100%;
			top:5px;
			left:0;
		}
	</style>
</head>
<body>

<!-- start: Header -->
<div class="navbar">
	<div class="navbar-inner">
		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
			<a class="brand" href="index.ejs"><span>Game Admin Platform</span></a>
		</div>
	</div>
</div>
<!-- start: Header -->
<div class="container-fluid-full">
	<div class="row-fluid">
		<!-- start: Main Menu -->
		<div id="sidebar-left" class="span2">
			<div class="nav-collapse sidebar-nav">
				<ul class="nav nav-tabs nav-stacked main-menu">
					<li><a href="/admin"><i class="icon-cogs"></i><span class="hidden-tablet"> 系统设置</span></a></li>
					<li><a href="/admin/user"><i class="icon-envelope"></i><span class="hidden-tablet"> 用户管理</span></a></li>
					<li><a href="/admin/question"><i class="icon-tasks"></i><span class="hidden-tablet"> 题集管理</span></a></li>
					<li><a href="/admin/report"><i class="icon-dashboard"></i><span class="hidden-tablet"> 报表导出</span></a></li>
				</ul>
			</div>
		</div>
		<!-- end: Main Menu -->
		<noscript>
			<div class="alert alert-block span10">
				<h4 class="alert-heading">Warning!</h4>
				<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
			</div>
		</noscript>
		<!-- start: Content -->
		<div id="content" class="span10">
			<ul class="breadcrumb">
				<li> <i class="icon-home"></i> <a href="index.ejs">Home</a> <i class="icon-angle-right"></i> </li>
				<li><a href="#">用户管理</a></li>
			</ul>

			<div class="row-fluid sortable">
				<div class="box span12">
					<div class="box-header" data-original-title="">
						<h2><i class="halflings-icon user"></i><span class="break"></span>用户管理</h2>
						<div class="box-icon">
							<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
						</div>
					</div>

					<div class="box-content upload-wp">
						<form class="form-horizontal" id="js-upload-user" method="post" action="/admin/uploaduser" enctype="multipart/form-data">
							<fieldset>
								<div class="control-group">
									<label class="control-label" for="fileInput">选择文件</label>
									<div class="controls">
										<input class="input-file uniform_on" id="fileInput" name="usercsv" width="200" type="file">
										<button type="submit" class="btn btn-primary">上传</button>
									</div>
								</div>
								<div class="control-group">
									<div class="controls">
										<a class="" href="/admin/report/userTemplate"><button type="button" class="btn btn-primary">下载用户模版</button></a>
									</div>
								</div>
							</fieldset>
						</form>
					</div>

					<div class="box-content">
						<div class="">
							<div class="text-center">
								<div class="alert alert-success" role="alert">当前存在岗位:【 <%=professions%> 】</div>
							</div>
						</div>
					</div>

					<div class="box-content user-table">
						<table class="table table-striped table-bordered bootstrap-datatable datatable">
							<thead>
							<tr>
								<th>ID</th>
								<th>姓名<i class="icon-edit"></i></th>
								<th>岗位</th>
								<th>积分</th>
								<th>参战次数</th>
								<th>胜利次数</th>
								<th>失败次数</th>
								<th>逃跑次数</th>
								<th>操作</th>
							</tr>
							</thead>
							<tbody id="js-user-body">

							</tbody>
						</table>
					</div>

					<div class="row-fluid" id="js-user-pages">
						<div class="span12">
							<div class="dataTables_info" id="DataTables_Table_0_info">
								当前显示 <span id="js-start"></span> 到 <span id="js-end">10</span> 条，共 <span id="js-total"></span> 条记录
							</div>
						</div>
						<div class="span12 center">
							<div class="dataTables_paginate paging_bootstrap pagination">
								<ul id="js-page">

								</ul>
							</div>
						</div>
					</div>

				</div>
				<!--/span-->
			</div>
		</div>
		<!--/.fluid-container-->
		<!-- end: Content -->
	</div>
	<!--/#content.span10-->
</div>
<!--/fluid-row-->
<div class="clearfix"></div>
<footer>
	<p> &nbsp; </p>
</footer>
<!-- start: JavaScript-->
<script src="/admin/js/jquery-1.9.1.min.js"></script>
<script src="/admin/js/jquery-migrate-1.0.0.min.js"></script>
<script src="/admin/js/jquery-ui-1.10.0.custom.min.js"></script>
<script src="/admin/js/jquery.ui.touch-punch.js"></script>
<script src="/admin/js/modernizr.js"></script>
<script src="/admin/js/bootstrap.min.js"></script>
<script src="/admin/js/jquery.cookie.js"></script>
<script src="/admin/js/fullcalendar.min.js"></script>
<script src="/admin/js/jquery.dataTables.min.js"></script>
<script src="/admin/js/excanvas.js"></script>
<script src="/admin/js/jquery.chosen.min.js"></script>
<script src="/admin/js/jquery.uniform.min.js"></script>
<script src="/admin/js/jquery.cleditor.min.js"></script>
<script src="/admin/js/jquery.noty.js"></script>
<script src="/admin/js/jquery.elfinder.min.js"></script>
<script src="/admin/js/jquery.raty.min.js"></script>
<script src="/admin/js/jquery.iphone.toggle.js"></script>
<script src="/admin/js/jquery.uploadify-3.1.min.js"></script>
<script src="/admin/js/jquery.gritter.min.js"></script>
<script src="/admin/js/jquery.imagesloaded.js"></script>
<script src="/admin/js/jquery.masonry.min.js"></script>
<script src="/admin/js/jquery.knob.modified.js"></script>
<script src="/admin/js/jquery.sparkline.min.js"></script>
<script src="/admin/js/custom.js"></script>

<script src="/admin/js/artdialog/dist/dialog-min.js"></script>

<script type="text/javascript" src="/admin/user.js"></script>

</body>
</html>